package com.sqx.modules.health.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author gxy
 * @since 2022-04-30
 */
@Getter
@Setter
@TableName("ncg_ecg")
@ApiModel(value = "Ecg对象", description = "")
public class Ecg implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("UUID,唯一标识，用以获取报告")
    private String patientId;

    @ApiModelProperty("患者ID")
    private Integer uid;

    @ApiModelProperty("医护操作员ID")
    private Integer doctorid;

    @ApiModelProperty("记录创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createDate;

    @ApiModelProperty("设备绑定时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime pdTime;

    @ApiModelProperty("文件路径")
    private String  filPath;

    @ApiModelProperty("测试诊断结论")
    private String conclusion;

    @ApiModelProperty("厂家标识")
    private String flag;

}
